package com.peter.design.pattern.decorator.battercake.v2;

/**
 * @Auther: 肖冬
 * @Date: 2020/7/27 16:03
 * @Description:
 */
public class SauageDecorator extends BattercakeDecorator {
    public SauageDecorator(Battercake battercake) {
        super(battercake);
    }

    protected String getMsg(){ return super.getMsg() + "1根香肠";}

    public int getPrice(){ return super.getPrice() + 2;}

}
